cd /www/server

wget https://nodejs.org/dist/v14.15.4/node-v14.15.4-linux-x64.tar.xz

tar -xvf node-v14.15.4-linux-x64.tar.xz

ln -s /www/server/node-v14.15.4-linux-x64/bin/npm /usr/local/bin/ 

ln -s /www/server/node-v14.15.4-linux-x64/bin/node /usr/local/bin/

npm i pm2 -g

ln -s /www/server/node-v14.15.4-linux-x64/bin/pm2 /usr/local/bin/


